package com.langChain4j.conversation.vo;

import com.langChain4j.api.group.Query;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 会话请求参数VO
 *
 * @author linjun
 */
@Data
@ApiModel(description = "会话请求参数")
public class SessionRequest {

    @NotBlank(message = "会话ID不能为空", groups = {Query.class})
    @ApiModelProperty(value = "会话ID", example = "session_001", required = true)
    private String sessionId;

//    @NotBlank(message = "用户唯一标识不能为空")
    @ApiModelProperty(value = "用户唯一标识", required = true)
    private String userId;

//    @NotBlank(message = "智能体ID不能为空")
    @ApiModelProperty(value = "智能体ID", required = true)
    private String agentId;
}